@layout("/common/_container.html",{js:["/assets/tBasicinfo/tBasicinfo.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">企业信息管理</span>
</div>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <input id="startTime" name="startTime" placeholder="请输入开始时间" type="text" class="layui-input date-icon" autocomplete="off" />
                            </div>
                            <div class="layui-inline">
                                <input id="endTime" name="endTime" placeholder="请输入结束时间" type="text" class="layui-input date-icon" autocomplete="off" />
                            </div>
                            <div class="layui-inline">
                                <button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索</button>
                                 @if(shiro.hasPermission("/tBasicinfo/add")){
                                <button id="btnAdd" class="layui-btn icon-btn"><i class="layui-icon">&#xe654;</i>添加</button>
                                @}
                            </div>
                        </div>
                    </div>
                    <table class="layui-table" id="tBasicinfoTable" lay-filter="tBasicinfoTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/html" id="tableBar">
    @if(shiro.hasPermission("/tBasicinfo/edit")){
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>
    @}
     @if(shiro.hasPermission("/tBasicinfo/delete")){
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
    @}
</script>
<script type="text/html" id="statusTpl">
    <input type="checkbox" lay-filter="delFlag" value="{{d.id}}" lay-skin="switch" lay-text="启用|禁用" {{d.delFlag==1?'checked':''}} />
</script>
@}